<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/vehicle.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryVehicleForm');
			query_vehicle(page);
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryVehicleForm">
<table class="search_term_table">
	<tr>
		<th style="width:80px;">车辆名称</th>
		<td>
			<input class="form-control" type="text" name="name" style="width:150px;"/>
		</td>
		<th style="width:60px;">车牌号</th>
		<td>
			<input class="form-control" type="text" name="plate" style="width:150px;"/>
		</td>
		<td style="text-align:right;">
			<button class="btn btn-info" onclick="javascript:query_vehicle(); return false;"><i class="icon-search"></i>查询</button>
			<button class="btn btn-success" onclick="javascript:sys_load_handle('vehicle-edit'); return false;"><i class="icon-file"></i>添加</button>
		</td>
	</tr>
	<tr>
		<th style="width:80px;">车辆类型</th>
		<td>
			<input class="form-control" type="text" name="vtn" style="width:150px;"/>
		</td>
		<th style="width:80px;">使用状态</th>
		<td>
			<select name="status" id="status" style="width:200px;">
				<option value="">选择车辆状态</option>
				<option value ="1">使用中</option>
				<option value ="2">空闲</option>
				<option value ="3">维修中</option>
				<option value ="4">停用</option>
			</select>
		</td>
		<td style="text-align:right;">
			<button class="btn btn-waring" onclick="javascript: selectApply_vehicle(); return false;"><i class="icon-arrow-right"></i>派车 </button>
			<button class="btn btn-warning" onclick="javascript:sys_load_handle('vehicle-edit'); return false;"><i class="icon-arrow-left"></i>归还</button>
		</td>
	</tr>
</table>
</form>
<div id="vehicleResultList"></div>

